﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

using ZhimeiSoft.CharmManager.DOL;

namespace ZhimeiSoft.CharmManager.Server.DAL.Interface
{
    public interface ICustomerPaymentDAL
    {
        /// <summary>
        /// 根据条件获取会员充值信息
        /// </summary>
        /// <param name="sFilter">过滤条件</param>
        /// <returns></returns>
        DataSet GetCustomerPayment(string sFilter);

        /// <summary>
        /// 新增会员充值信息
        /// </summary>
        /// <param name="entity">会员充值信息类</param>
        void InsertCustomerPayment(DBEntityCustomerPayment entity);

        /// <summary>
        /// 更新会员充值信息
        /// </summary>
        /// <param name="entity">会员充值信息类</param>
        void UpdateCustomerPayment(DBEntityCustomerPayment entity);

        /// <summary>
        /// 删除会员充值信息
        /// </summary>
        /// <param name="payment_id">充值ID</param>
        void DeleteCustomerPayment(int payment_id);
    }
}
